import useRequest from "@/hooks/useRequest";
const { post, get } = useRequest();



export const regeister = (data : any) => {
	return post({
		url: "api/login/regeister",
		data,
	});
}



export const protocol = {
	'购买须知': (data : any) => get({
		url: "api/ask/get_xieyi",
		data,
	})
}